package com.qijian.maindata.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.Data;

/***
 * 导出钢印号
 */
@Data
@ColumnWidth(12)
@HeadRowHeight(value = 15)
@HeadStyle(
        fillForegroundColor = 55,
        horizontalAlignment = HorizontalAlignmentEnum.CENTER,
        borderBottom = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN)//表头样式
@ContentStyle(borderBottom = BorderStyleEnum.THIN,borderLeft = BorderStyleEnum.THIN,borderRight = BorderStyleEnum.THIN,borderTop = BorderStyleEnum.THIN)
public class StampGenExportVo {

    @ExcelProperty(value = "序号")
    private Integer index;

    @ExcelProperty(value = "图号")
    private String drawingNo;

    @ExcelProperty(value = "SAP号")
    private String sapNo;

    @ExcelProperty(value = "物料名称")
    private String itemName;

    @ExcelProperty(value = "件/套")
    private Integer quantity;

    @ExcelProperty(value = "套数量")
    private Integer numOfSet;

    @ExcelProperty(value = "钢印号序列号")
    @ColumnWidth(30)
    private String startSeqNo;

    @ExcelProperty(value = "钢印号序列号")
    @ColumnWidth(2)
    private String sep;

    @ExcelProperty(value = "钢印号序列号")
    @ColumnWidth(30)
    private String endSeqNo;

}
